﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Project.DAO;
using Project.DBMAPPING;
using Project.IBIZ;
using Project.IDAO;

namespace Project.BIZ
{
   public  class ProductDetailBIZ:IProductDetailBIZ
    {
        IProductDetailDAO ProductDetailDao = new ProductDetailDAO();

        /// <summary>
        /// Load product list of a specific category
        /// </summary>
        /// <param name="ProductID">Input category ID</param>
        /// <returns>List of products</returns>
        public List<SP_PRODUCT_LOADPRODUCTDETAILResult> LoadProductDetail(int ProductID)
        {
            return ProductDetailDao.LoadProductDetail(ProductID).ToList();
        }
    }
}
